package review.data.service;

import com.alibaba.fastjson.JSONObject;
import org.springframework.data.domain.Page;
import review.entity.Science;

import java.util.List;

public interface ScienceService {

  void addScience(Science science);

  void updateScience(Science science);

  List<Science> findAll();

  void deleteScience(Science science);

  JSONObject transformJSON(List<Science> sciences);

  Page<Science> findAll(int page, int size, Science sc);
}
